# Lists of PDB IDs and PDB Status Information
## Get a list of all current PDB IDs
The following code connects to one of the PDB servers and fetches a list of all current PDB IDs.
```java
SortedSet currentPDBIds = PDBStatus.getCurrentPDBIds();
```
## The current status of a PDB entry
The following provides information about the status of a PDB entry
```java
Status status = PDBStatus.getStatus("4hhb");
// get the current ID for an obsolete entry
String currentID = PDBStatus.getCurrent("1hhb");
```
---
Navigation:
[Home](../README.md)
| [Book 3: The Structure Modules](README.md)
| Chapter 18 : Status Information
Prev: [Chapter 17 : Special Cases](special.md)